<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>

        function Fn(a,b){
            console.log(this.cloth,a,b)
        }
        const o = {
            cloth:"shirt"
        }
        Function.prototype.myBind = function (ctx,...args1){
            let that = this
            let myArgs = []
            return function(...args2){
                that.apply(ctx,args1.concat(args2))
            }
        }
        Fn.bind(o,1)(2)
    </script>
</body>
</html>